import request from "../utils/axios"
export const login=(data)=>{
    return request.post('/v1/index/login',data)
}
export const register=(data)=>{
    return request.post('/v1/index/register',data)
}
export const getUserInfo1=()=>{
   return request.get('/v1/index/get-user-info')
}
// 退出登录
export const logout=()=>{
   return request.get(`/v1/index/logout`)
}